package com.software.seakdream.repository;

import com.software.seakdream.entity.DailyAudio;
import com.software.seakdream.entity.History;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author：zzh
 * @date: 2023/5/31
 * @Copyright：
 */
@Mapper
@Repository
public interface DailyAudioRepository {
    void createDaily(DailyAudio dailyAudio);

    void deleteAll();

    List<DailyAudio> findInRange(String userId, int left, int size);
}
